<?php

jimport('joomla.application.component.view');
/**
 * HTML View class for the server Component
 */
class ServerViewLgn extends JView
{
    function display($tpl = null)
    {
        $model = &$this->getModel();
        $serverid = $model->getServerId();

        $user = JFactory::getUser();

        if ($user->id <= 0) $needreg = true; else $needreg = false;


        $this->assignRef('needreg', $needreg);
        $this->assignRef('sid', $serverid);

        parent::display($tpl);
    }

}

?>
